Method and apparatus for managing subscriber profiles

ABSTRACT

Methods and apparatus for managing subscriber profiles are described herein. In one embodiment, the method includes receiving, from a requester, a request to determine an operation to be performed on a data packet. The method also includes determining profile identifiers associated with the requester, wherein the profile identifiers include, a first-level profile identifier associated with a lower-level profile identifier that defines the operation. The method also includes determining, based on the profile identifiers, that the operation should be performed on the data packet and transmitting an indication of the operation to the requestor, wherein the requestor performs the operation on the data packet.

FIELD

This invention relates generally to the field of telecommunication and more particularly to delivering network services.

BACKGROUND

In a networking service delivery environment (e.g., a digital subscriber line service environment), it is critical to deploy fast, versatile, and scalable systems. Broadband service providers (e.g., DSL) typically offer a large variety of service plans, which allow subscribers to choose between various service options. For example, subscribers can choose between low-cost service plans offering basic services and expensive service plans offering premium services.

For DSL providers, as the number of subscribers and services increases, so does the amount of system resources needed for tracking subscriber services. According to one prior art technique, a DSL provider stores a list of services for each subscriber. Such a list can include the subscriber's maximum bandwidth, available filters (e.g., firewalls), encryption information, virtual private network information, access control lists, etc. When a subscriber initiates a session, the service provider retrieves the subscriber's service list to determine which services are available to the subscriber. As the number of subscribers grows, repeated fetching of service lists can create computational and communication overhead. Moreover, with a large number of subscribers, the space needed for storing service lists can become relatively large. Furthermore, when the DSL provider adds new services, it must update each subscriber's service list, consuming system resources and potentially reducing the system's service capacity.

SUMMARY

Methods and apparatus for managing subscriber profiles are described herein. In one embodiment, the method includes receiving, from a requester, a request to determine an operation to be performed on a data packet. The method also includes determining profile identifiers associated with the requestor, wherein the profile identifiers include, a first-level profile identifier associated with a lower-level profile identifier that defines the operation. The method also includes determining, based on the profile identifiers, that the operation should be performed on the data packet and transmitting an indication of the operation to the requestor, wherein the requestor performs the operation on the data packet.

In one embodiment, the apparatus includes a virtual interface to receive a data packet from a subscriber computer and to request an operation to be performed on the data packet, wherein the virtual interface defines a connection between a router and the subscriber computer. The apparatus also includes a policy engine to receive the request for an operation, the policy engine including, a virtual interface database to store a first profile identifier associated with the virtual interface. The apparatus also includes a profile identifier database to store a lower-level profile identifier associated with the first profile identifier, wherein the lower-level profile identifier indicates the operation to be performed on the data packet.

BRIEF DESCRIPTION OF THE FIGURES

The present invention is illustrated by way of example and not limitation in the Figures of the accompanying drawings in which:

FIG. 1 is a dataflow diagram illustrating dataflow occurring in conjunction with configuring a subscriber connection, according to exemplary embodiments of the invention;

FIG. 2 is a block diagram illustrating an operating environment for certain embodiments of the invention;

FIG. 3 is a block diagram illustrating a virtual router, according to exemplary embodiments of the invention;

FIG. 4 is a flow diagram illustrating operations for creating a subscriber connection, according to exemplary embodiments of the invention;

FIG. 5 is a flow diagram illustrating operations for returning lower-level information, according to exemplary embodiments of the invention;

FIG. 6 is a flow diagram illustrating operations for storing lower-level profile identifiers, according to embodiments of the invention;

FIG. 7 illustrates tables stored in the policy engine, according to exemplary embodiments of the invention;

FIG. 8 is a flow diagram illustrating operations occurring in conjunction with packet forwarding during a subscriber connection, according to embodiments of the invention; and

FIG. 9 is a flow diagram describing operations for modifying subscriber services, according to exemplary embodiments of the invention.

DESCRIPTION OF THE EMBODIMENTS

Methods and apparatus for managing subscriber profiles are described herein. In the following description, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail in order not to obscure the understanding of this description. Note that in this description, references to “one embodiment” or “an embodiment” mean that the feature being referred to is included in at least one embodiment of the invention. Further, separate references to “one embodiment” in this description do not necessarily refer to the same embodiment; however, neither are such embodiments mutually exclusive, unless so stated and except as will be readily apparent to those of ordinary skill in the art. Thus, the present invention can include any variety of combinations and/or integrations of the embodiments described herein. Moreover, in this description, the phrase “exemplary embodiment” means that the embodiment being referred to serves as an example or illustration.

Herein, block diagrams illustrate exemplary embodiments of the invention. Also herein, flow diagrams illustrate operations of the exemplary embodiments of the invention. The operations of the flow diagrams will be described with reference to the exemplary embodiments shown in the block diagrams. However, it should be understood that the operations of the flow diagrams could be performed by embodiments of the invention other than those discussed with reference to the block diagrams, and embodiments discussed with references to the block diagrams could perform operations different than those discussed with reference to the flow diagrams. Moreover, it should be understood that although the flow diagrams may depict serial operations, certain embodiments could perform certain of those operations in parallel.

This description of the embodiments is divided into three sections. The first section presents an overview of exemplary embodiments of the invention. The second section presents an exemplary system architecture, while the third section describes exemplary operations performed by embodiments of the system.

Overview

This section presents an overview of a telecommunications system for managing service profile information for a large number of subscribers.

FIG. 1 is a dataflow diagram illustrating dataflow occurring in conjunction with configuring a subscriber connection, according to exemplary embodiments of the invention. In FIG. 1, a telecommunications system 100 includes a subscriber manager 102, profile manager 104, virtual interface 106, and policy engine 108. The exemplary system 100 is adapted to provide network services to thousands of subscribers. Each subscriber can receive a set of services upon establishing a connection with the system 100. The services can include firewalls, various qualities of service, tunneling support, virtual private network support, etc. Although there are numerous services and thousands of subscribers, the number of different service combinations is relatively small. That is, each of the thousands of users subscribers use one or more of a relatively small number (e.g., 30) of service contexts, where a service context refers to a combination of services that a subscriber receives during a connection. Therefore, each subscriber is associated with one or more service contexts.

Each service context can include one or more profile identifiers. For example, a service context can include profile identifiers that define the following services: bandwidth=100 kbps, firewall=high security firewall, VPN support=not enabled, and tunneling support=not enabled. The profile identifiers can be organized in a hierarchy. For example, a first-level profile identifier can define a service or refer to one or more second-level profile identifiers. The second-level profile identifiers can either define services or refer to third-level profile identifiers, and so on.

The dataflow of FIG. 1 describes determining services represented by a hierarchy of profile identifiers. The dataflow is divided into five stages. At stage one, when establishing a subscriber connection, the subscriber manager 102 receives a first-level profile identifier associated with the subscriber. At stage two, the subscriber manager 102 requests and receives second-level profile information including a second-level profile identifier (associated with the first-level profile identifier) from the profile manager 104.

At stage three, the subscriber manager 102 creates a virtual interface 106 and configures the virtual interface 106 according to the second-level profile information. In one embodiment, the virtual interface 106 defines a physical connection to a subscriber. In one embodiment, the second-level profile information defines inbound and outbound policies used when forwarding packets through the virtual interface 106.

At stage four, the second-level profile information is stored in the policy engine 108. At stage five, the policy engine requests and receives additional lower-level profile information including lower-level profile identifiers for defining services used in configuring the virtual interface 106. After the policy engine 108 stores the profile information, the system 100 can use the profile identifiers to define services on other later-created virtual interfaces that use the same profile identifiers.

Arranging profile identifiers in a hierarchy allows the system 100 to provide services at a high level of granularity. More specifically, because a first-level profile identifier can refer to several lower-level profile identifiers that define a service, the services can be very specifically defined. For example, “Premium” Internet service, represented by a first-level profile identifier, can be defined as 1 Mbps bandwidth, a premium firewall, and virus protection. The premium firewall can be further defined using additional lower-level profile identifiers. Having highly granular services allows the system to offer a broad range of customizable services.

Organizing the profile identifiers in a hierarchy also allows the system 100 to modify services without updating each subscriber's profile identifiers. In one embodiment, the system 100 stores a high-level profile identifier for each subscriber. If a service is modified, the system 100 does not modify each subscriber's high-level profile identifiers. In contrast, in one embodiment, the system 100 may implement a service change by modifying a common database of lower-level profile identifiers.

Exemplary System Operating Environment

This section describes an exemplary operating environment and system architecture, according to embodiments of the invention. Operations performed by the exemplary system are described in the next section. In this section, FIGS. 2 and 3 are presented.

FIG. 2 is a block diagram illustrating an operating environment for certain embodiments of the invention. As shown in FIG. 2, personal computers (PCs) 202 are connected to modems 206. The modems 206 are connected to a digital subscriber line access module (DSLAM) 216, which multiplexes signals from the modems 206 onto the Internet protocol (IP) network 218. The IP network 218 is connected to a router box 214 that includes virtual routers (VRs) 228. The router box 214 is connected to the Internet 212. The router box 214 is also connected to a dynamic host configuration protocol (DHCP) server 220, web portal 222, RADIUS server 224, and control server 226.

Although the router 214 includes three VRs, other embodiments call for any number of VRs or any computing system. In one embodiment, one or more of the VRs 228 can establish subscriber connections. When establishing the connections, the VRs 228 can use the DHCP server 220 for assigning IP addresses to the PCs 202. The VRs 228 can use the RADIUS server 224 to authenticate subscribers. After authenticating subscribers, the VRs 228 can configure subscriber connections according to service contexts, which refer to services that subscribers receive during connections. In one embodiment, the VRs 228 can receive service profile information from the control server 226 and/or the RADIUS server 224.

After the VRs 228 establish subscriber connections, they provide access to the web portal 222, where users can select new services. Additionally, after establishing subscriber connections, the VRs 228 process and forward packets over the IP network 218 and the Internet 212.

While FIG. 2 describes an exemplary operating environment, FIG. 3 describes a virtual router in more detail. FIG. 3 is a block diagram illustrating a virtual router, according to exemplary embodiments of the invention. As shown in FIG. 3, virtual router 328 includes a subscriber manager 302 connected to virtual interfaces 304 and 316. The virtual interfaces 304 are connected to a policy engine 306, which is connected to a profile manager 308. The profile manager 308 is connected to the subscriber manager 302. The profile manager 308 includes a profile cache 310 and the policy engine 306 includes a virtual interface database 312 and a profile database 310.

In one embodiment, the subscriber manager 302 processes subscriber connection requests, while the profile manager 308 stores subscriber profile information used for establishing subscriber connections and processing subscriber data. In one embodiment, the policy engine 306 aids in de-referencing subscriber profiles. In one embodiment, the profile database 314 stores profile identifiers that define subscriber services, whereas the virtual interface database 312 can store first-level profile identifiers and/or services used for defining services associated with the virtual interfaces (VIs) 304. Operations of the virtual router's functional units are described below in the next section.

It should be understood that the functional units (e.g., the subscriber manager 302, virtual interface 304, etc.) of the virtual router 328 can be integrated or divided, forming any number of functional units. Moreover, the functional units can be communicatively coupled using any suitable communication method (e.g., message passing, parameter passing, and/or signals through one or more communication paths etc.). Additionally, the functional units can be physically connected according to any suitable interconnection architecture (e.g., fully connected, hypercube, etc.).

According to embodiments of the invention, the functional units can be any suitable type of logic (e.g., digital logic) for executing the operations described herein. Any of the functional units used in conjunction with embodiments of the invention can include machine-readable media including instructions for performing operations described herein. Machine-readable media include any mechanism that provides (i.e., stores and/or transmits) information in a form readable by a machine (e.g., a computer). For example, a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash memory devices, electrical, optical, acoustical or other forms of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), etc.

Exemplary Operations

This section describes exemplary operations of the exemplary system described above. In the following discussion, FIG. 4 describes operations performed by an embodiment of a subscriber manager. FIG. 5 describes operations performed by an embodiment of a profile manager and FIG. 6 describes operations performed by an embodiment of a policy engine.

FIG. 4 is a flow diagram illustrating operations for creating a subscriber connection, according to exemplary embodiments of the invention. The flow diagram 400 will be described with reference to the exemplary system shown in FIGS. 2 and 3. The flow 400 commences at block 402.

At block 402, a subscriber connection request is received. For example, the subscriber manager 302 receives a connection request from a PC 202. The connection request can be a point-to-point protocol (PPP) request or a user activation over a shared medium as in advanced subscriber management (ASM) system where subscribers are recognized using source information of the data packets. In one embodiment, the subscriber connection request includes subscriber authentication information (e.g., a subscriber identifier and a password), which can be used to authenticate the subscriber. The flow continues at block 404.

At block 404, a subscriber authorization request is transmitted. For example, the subscriber manager 302 transmits an authorization request to the Remote Authentication Dial-In User Service (RADIUS) server 224. In one embodiment, the authorization request is an asynchronous message that includes the subscriber authentication information. The flow continues at block 406.

At block 406, a host identifier and authorization response including one or more first-level profile identifiers are received. For example, the subscriber manager 302 receives an authorization response from the RADIUS server 202. The authorization response can include a message, a host identifier, and one or more first-level profile identifiers. The message indicates whether the subscriber was successfully authenticated. The first-level profile identifier defines a subscriber service or refers to one or more second-level profile identifiers (see discussion above) and the host identifier indicates where the profile identifiers are stored or indicates the service VR where the subscriber may receive service (e.g., the host identifier indicates which of the VRs 230 is storing second-level profile identifiers). The flow continues at block 408.

At block 408, a determination is made about whether the authorization was successful. For example, the subscriber manager 302 determines whether the authorization response included a message indicating that the authorization was successful. If the authorization was successful, the flow continues at block 410. Otherwise, the flow continues at block 414.

At block 414, the requestor is informed that the session could not be created. For example, the subscriber manager 302 transmits a message to the PC 202 informing the subscriber that a session could not be created. From block 414, the flow ends.

At block 410, if necessary, the second-level profile identifier is acquired. For example, the subscriber manager 302 requests and receives one or more second-level profile identifiers (associated with the first-level profile identifier) from a system component. In one embodiment, the subscriber manager 302 requests and receives the second-level profile identifiers from the profile manager 308. Alternatively, the subscriber manager 302 can request and receive the profile identifiers from another VR 228. According to embodiments, the second-level profile identifiers can be stored in any VR's profile manager, radius server, or other accessible repository. In one embodiment, the subscriber manager 302 does not need to acquire second-level profile identifiers because the first-level profile identifier(s) explicitly define subscriber services. The flow continues at block 412.

At block 412, a virtual interface is created and the requester is informed about the connection. For example, the subscriber manager 302 creates a virtual interface 304 and transmits a connection message to the PC 202. In one embodiment, the virtual interface 304 refers to a physical connection to between the PC 202 and the router box 214. In one embodiment, the subscriber manager 302 configures the virtual interface 304 based on the profile identifiers. For example, based on the profile identifiers, the subscriber manager 302 configures inbound and outbound policies for the virtual interface 304. From block 414, the flow ends.

While FIG. 4 describes operations performed by an embodiment of a subscriber manager, FIG. 5 describes operations performed by an embodiment of a profile manager. FIG. 5 is a flow diagram illustrating operations for returning lower-level profile information, according to exemplary embodiments of the invention. The flow diagram 500 will be described with reference to the exemplary system of FIGS. 2 and 3. In one embodiment, the operations of the flow diagram 500 can be performed by any VR's profile manager. The flow 500 commences at block 502.

At block 502, a profile identifier is received. For example, the profile manager 308 receives a profile identifier (e.g., a first-level profile identifier) from the subscriber manager 302 or the policy engine 306. The flow continues at block 504.

At block 504, a determination is made about whether the profile cache includes an entry for the profile identifier. The entry can also include profile information. Profile information can include a set of attributes that define the content of a profile. Profile information may be available in the profile cache if the profile was previously obtained from a profile server. For example, the profile manager 308 determines whether its profile cache 310 includes an entry for the profile identifier. If the profile cache 310 does not include an entry for the profile identifier, the flow continues at block 508. Otherwise, the flow continues at block 506.

At block 506, the profile information is retrieved from the profile cache. For example, the profile manager 308 retrieves lower-level profile information (e.g., a second-level or third-level profile information) from the profile cache entry. The flow continues at block 514.

At block 508, a determination is made about where to request the profile information. For example, the profile manager 308 determines where it should request the profile identifiers. In one embodiment, the profile manager 308 refers to an ordered list of profile servers to determine where to request the profile information. For example, the ordered list can dictate that the profile manager 308 first request the lower-level profile information from the RADIUS server 224. If that request is not successful, the profile manager 308 would then request the lower-level profile information from other repositories enumerated in the list (e.g., other VRs 228, the control server 226, etc.) The flow continues at block 510.

At block 510, the profile information is requested and received. For example, the profile manager 308 requests and receives lower-level profile information from a system component (e.g., the RADIUS server 224). The flow continues at block 512.

At block 512, the profile information is stored in the profile cache. For example, the profile manager 308 stores the lower-level profile information in its profile cache 310. The flow continues at block 514.

At block 514, the profile information is returned to the requester. For example, the profile manager 308 returns the profile information to a system component (e.g., the policy engine 314). From block 514, the flow ends.

FIG. 6 is a flow diagram illustrating operations for storing lower-level profile identifiers, according to embodiments of the invention. In one embodiment, flow diagram 600 describes operations performed by the policy engine. The flow diagram 600 will be described with reference to the exemplary system of FIGS. 2 and 3. The flow diagram 600 commences at block 602.

At block 602, a profile identifier is received. For example, the policy engine 306 receives a profile identifier from the virtual interface 304 when a subscriber's inbound or outbound policy is set or changed. The flow continues at block 604.

At block 604, a determination is made about whether the profile information including the profile identifier is stored in the profile database. In one embodiment, the policy engine 306 searches its profile database 314 for the profile information using the profile identifier.

A brief example of searching for a lower-level profile identifier in the profile database 314 is described below, in conjunction with FIG. 7. FIG. 7 illustrates tables stored in the policy engine, according to exemplary embodiments of the invention. Tables 704 and 706 include hierarchical profile identifiers. In particular, table 704 includes fields associating first-level profile identifiers with second-level profile identifiers. For example, in table 704, first-level profile identifier S1 is associated with second-level profile identifiers F1, F2, and F3. Table 706 includes fields for associating second-level profile identifiers with third-level profile identifiers. For example, in table 706: 1) second-level profile identifier F1 is associated with third-level profile identifier A1; 2) second-level profile identifier F2 is associated with third-level profile identifiers A2 and A4; and 3) second-level profile identifier F3 is associated with third-level profile identifiers A1 and A3.

Based on the tables 704 and 706, the policy engine 306 can determine whether a particular profile identifier is associated with a lower-level profile identifier by dereferencing the profile identifiers. For example, using tables 704 and 706, the policy engine 306 can determine that first-level profile identifier SI is associated with third-level profile identifiers A1, A1, A2, A3, and A4. In one embodiment, the third-level profile identifiers define services that can be performed during subscriber sessions. In one embodiment, the relationships represented in the tables 704 and 706 can be represented in a single table.

Referring back to FIG. 6, if the profile identifier is in the profile database 314, the flow ends. Otherwise, the flow continues at block 605.

At block 605, profile information associated with the profile identifier is obtained and stored in the profile database. For example, the policy engine 306 obtains, from the profile manager 308, the profile information associated with the profile identifier and stores the profile information in its profile database 314. In one embodiment, the profile information includes a field associated with the lower-level profile identifier. In one embodiment, the profile identifier is not associated with a lower-level profile identifier. As noted above, the profile identifier can explicitly define subscriber services. From block 605, the flow continues at block 606.

At block 606, a determination is made about whether there are one or more lower-level profile identifiers associated with the profile identifier. In one embodiment, the policy engine 306 determines whether there are lower-level profile identifiers associated with the profile identifier by examining the profile information associated with the profile identifier. In one embodiment, the policy engine 306 determines whether there are more lower-level profile identifiers associated with the profile identifier by examining lower-level profile information associated with previously obtained lower-level profile identifiers. In one embodiment, if there are not one or more lower-level profile identifiers associated with the profile identifier, the profile identifier explicitly defines one or more subscriber services. In one embodiment, if there are one or more lower-level profile identifiers, the profile identifier explicitly defines one or more subscriber services and each of the one or more lower-level profile identifiers defines one or more additional subscriber services. In one embodiment, the one or more lower level profile identifiers and the profile identifier together define a service one or more subscriber services. If there are more lower-level profile identifiers associated with the profile identifier, the flow continues at block 608. Otherwise, the flow ends.

At block 608, the lower-level profile information associated with the one or more profile identifiers is requested and received. For example, the policy engine 306 requests the lower-level profile information associated with the one or more profile identifiers from the profile manager 308. The flow continues at block 610.

At block 610, the lower-level profile information is stored in the profile database. For example, the policy engine 306 stores the lower-level profile information in its profile database 314. In one embodiment, the policy engine 306 stores additional information (e.g., a handle) for the lower-level profile in a field along with the profile identifier to provide quicker access to the lower level profile without requiring to search the profile database. From block 610, the flow continues at block 606.

FIGS. 4-7 describe operations for initializing virtual interfaces and establishing subscriber connections. However, FIG. 8 describes operations for forwarding packets during a subscriber connection.

FIG. 8 is a flow diagram illustrating operations occurring in conjunction with packet forwarding during a subscriber connection, according to embodiments of the invention. The flow diagram 800 will be described with reference to the exemplary system of FIGS. 2 and 3. The flow diagram 800 commences at block 802.

At block 802, a request is received, where the request is to determine whether a packet should be forwarded and other operations performed. For example, the policy engine 306 receives a request from the virtual interface 304 to determine whether a packet should be forwarded and whether other operations should be performed on the packet (e.g., operations regarding a firewall, QoS, etc.). The flow continues at block 804.

At block 804, the determination about whether to forward/operate on packets is made based on one or more profile identifiers associated with the requestor. For example, the policy engine 306 determines whether the packet should be forwarded and whether other operations are to be performed based on one or more profile identifiers associated with the virtual interface 304. In one embodiment, the policy engine 306 looks in the virtual interface database 312 to determine a first-level identifier associated with the virtual interface 304. The policy engine 306 de-references the first-level profile identifier (using the profile database 314) to determine whether there are any lower-level profile identifiers associated with the virtual interface 304. After de-referencing the profile identifiers, the policy engine 306 can use the lower-level profile identifiers to determine whether the packet should be forwarded/operated upon. Because the lower-level profile identifiers define services (e.g., a firewall) to apply to the packet, the policy engine 304 can decide whether to forward the packet. The flow continues at block 806.

At block 806, the results of the determination are transmitted. For example, the policy engine 306 transmits the results to the virtual interface 304. In one embodiment, after the virtual interface 304 forwards and/or performs other operations on data packets based on the determination. From block 806, the flow ends.

According certain embodiments, the system 200 can alter existing services and/or add new services any time during the operation of the router box 214. As part of a process for modifying services, the system 200 can redefine associations between first-level profile identifiers and lower-level profile identifiers. The premium service package can initially include a 1 Mbps bandwidth service, where the premium service package is associated with a first-level profile identifier, and where the 1 Mbps bandwidth service is associated with a lower-level profile identifier. After the system 200 has been running for some time, the premium service package can be “upgraded” to include 5 Mbps bandwidth service instead of 1 Mbps bandwidth service. In order to make the upgrade available, a virtual router 228 can dissociate the premium service package's first-level profile identifier from the 1 Mbps lower-level identifier. It can then associate the premium service package's first-level profile identifier with a lower-level profile identifier that defines bandwidth service at 5 Mbps. As a result of modifying the profile identifiers, the virtual router 228 can modify services without requiring users to reestablish connections and without updating data for each subscriber in the system.

In one embodiment, the system performs the following operations for modifying services. FIG. 9 is a flow diagram describing operations for modifying subscriber services, according to exemplary embodiments of the invention. The flow diagram 900 will be described with reference to the exemplary system of FIGS. 2 and 3. The flow diagram 900 commences at block 902.

At block 902, service profile changes are requested from a system component that was previously used to resolve profiles. For example, the profile manager 308 requests new/modified profile identifiers from the RADIUS server 224 or other component of the system 200. In one embodiment, the profile manager 308 can request profile identifiers from any system component that it previously used to resolve subscriber profiles. The flow continues at block 904.

At block 904, a determination is made about whether there has been a response. For example, the profile manager 308 determines whether it has received a response from the system component (e.g., the control server 226). In one embodiment, the response can be an asynchronous response received anytime. If there has been a response, the process continues at block 910. Otherwise, the process continues at block 906.

At block 906, a determination is made about whether there are other system components from which modified profile information can be obtained. For example, the profile manager 308 can search a list of system components (e.g., an ordered list of VRs, Radius Servers or other profile servers) that could contain profile information. Based on the search, the profile manager 308 can determine which system components may contain modified profile information.

If there are system components other than those already queried that could include modified profile information, the flow continues at block 908. Otherwise, the flow continues at block 912.

At block 908, profile changes are requested from another system component. For example, the profile manager 308 requests profile changes from another system component, such as the RADIUS server 224. In one embodiment, the profile manager 308 determines the other system component by searching an ordered list of components. The flow continues at block 904.

At block 910, a determination is made about whether any profile changes were returned from the system components. If profile changes were returned from system components, the flow continues at block 912. Otherwise, the flow ends.

At block 912, all applications that use the profile are updated. For example, the profile manager 308 can transmit profile changes to any system component that is currently using the relevant profile. As a more specific example, profile manager 308 can transmit modified profile identifiers to the policy engine 306.

In one embodiment, system components that use the service profile are updated about the profile refresh failure (e.g., a profile refresh failure occurs when the flow arrives at block 912 by taking the “no” path from blocks 904 and 906). For example, the policy engine 306 is informed of a profile refresh failure. As a result, the policy engine 306 can remove from the profile database one or more lower-level profile identifiers associated with the service profile's first-level profile identifier. The profile manager 306 can be updated later, when new lower-level profile identifiers are available.

In another embodiment, system components that use the service profile are not updated about the profile refresh failure. In this case, the system components (e.g., the policy engine 306 continue to use previous profile identifiers. This enables the system 200 to operate normally during temporary network outages, when profile information may not be available. From block 912, the flow ends.

Although the flow 900 ends after block 912, in one embodiment, system components can wait some time period and begin executing flow 900 from block 902. In one embodiment, depending on the number profile refresh failures, the time period changes. In one embodiment, the system component can stop executing flow 900 after some number of profile refresh failures.

Thus, methods and apparatus for managing subscriber profiles are described herein. Although the present invention has been described with reference to specific exemplary embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. 

1. A method comprising: receiving, from a requester, a request to determine an operation to be performed on a data packet; determining profile identifiers associated with the requester, wherein the profile identifiers include, a first-level profile identifier associated with a lower-level profile identifier that defines the operation; determining, based on the profile identifiers, that the operation should be performed on the data packet; and transmitting an indication of the operation to the requester, wherein the requester performs the operation on the data packet.
 2. The method of claim 1, wherein the requestor is a virtual interface.
 3. The method of claim 1, wherein the operation includes forwarding the data packet through a virtual interface.
 4. The method of claim 1, wherein determining the profile identifiers includes searching for the first-level identifier in a database, and based on the first-level identifier, searching for the lower-level identifier in the database.
 5. A method comprising: configuring a policy engine to define services available during a subscriber connection, wherein the policy engine is included in a virtual router, and wherein the configuring includes, receiving a first profile identifier; determining whether the first profile identifier is stored in a database; and if the first profile identifier is not stored in the database, performing the following, obtaining profile information associated with the first profile identifier; determining whether the first profile identifier is associated with a lower-level profile identifier; if the first profile identifier is associated with a lower-level profile identifier, receiving the lower-level profile identifier and lower-level profile information associated with the lower-level profile identifier and storing the lower-level profile identifier and lower-level profile information in the database; and storing the first profile identifier and profile information associated with the first profile identifier in the database.
 6. The method of claim 5, wherein the lower-level profile identifier defines a service available during the subscriber connection.
 7. The method of claim 5, wherein the first profile identifier is received from a virtual interface.
 8. The method of claim 5, wherein the lower-level profile identifier is received from a component of the virtual router that manages subscriber profiles.
 9. An apparatus comprising: a virtual interface to receive a data packet from a subscriber computer and to request an operation to be performed on the data packet, wherein the virtual interface defines a connection between a router and the subscriber computer; a policy engine to receive the request for an operation, the policy engine including, a virtual interface database to store a first profile identifier associated with the virtual interface; and a profile identifier database to store a lower-level profile identifier associated with the first profile identifier, wherein the lower-level profile identifier indicates the operation to be performed on the data packet.
 10. The apparatus of claim 9, wherein the operation is a packet forwarding operation.
 11. The apparatus of claim 9, wherein the profile identifier database includes the first profile identifier and a second-level identifier associated with the first identifier.
 12. An apparatus comprising: a subscriber manager to receive a subscriber connection request and to receive a first profile identifier based on the subscriber connection request; a profile manager to provide a lower-level profile identifier to the subscriber manager, wherein the lower-level profile identifier is associated with the first profile identifier, and wherein the lower-level profile identifier defines a subscriber connection service; a policy engine to store the first profile identifier and the lower-level profile identifier in a profile identifier database; and a virtual interface to apply the subscriber connection service to a data packet.
 13. The apparatus of claim 12, wherein the subscriber connection service is selected from the group consisting of a firewall, a quality of service (QoS), and a virus protector.
 14. The apparatus of claim 12, wherein the policy engine also includes a virtual interface database to store a virtual interface identifier in a first field and the first profile identifier in a second field.
 15. A machine-readable medium including instructions which when executed perform operations comprising: receiving, from a requestor, a request to determine an operation to be performed on a data packet; determining profile identifiers associated with the requestor, wherein the profile identifiers include, a first-level profile identifier associated with a lower-level profile identifier that defines the operation; determining, based on the profile identifiers and profile information, that the operation should be performed on the data packet; and transmitting an indication of the operation to the requestor, wherein the requester performs the operation on the data packet.
 16. The machine-readable medium of claim 15, wherein the requester is a virtual interface.
 17. The machine-readable medium of claim 15, wherein the operation includes forwarding the data packet through a virtual interface.
 18. The machine-readable medium of claim 15, wherein determining the profile identifiers includes searching for the first-level identifier in a database, and based on the first-level identifier, searching for the lower-level identifier in the database. 19-21. (canceled) 